package com.bjpowernode.crm.workbench.service;

import com.bjpowernode.crm.workbench.domain.Contacts;

import java.util.List;

/**
 * 郭俊才
 * 2021/8/27
 */
public interface ContactsService {
    //增加
    int saveSelective(Contacts record);
    //删除
    int removeByPrimaryKey(String id);
    //修改
    int editByPrimaryKeySelective(Contacts record);
    //根据主键查询
    Contacts queryByPrimaryKey(String id);
    //有条件查询全部
    List<Contacts> queryAllByCondition(Contacts contacts);
    //根据主键查询详情
    Contacts queryByPrimaryKeyForDetails(String id);
    //根据名称模糊查询
    List<Contacts> queryByName(String fullName);
}
